import webapp2

from google.appengine.api import taskqueue
from google.appengine.ext import ndb
from Model import *
from datetime import *
from google.appengine.ext import ndb
import logging
from NotificationsUtils import *
from datetime import *

class startRaceTasksHandler(webapp2.RequestHandler):
    def get(self):
        for i in range(0,6):
            taskqueue.add(queue_name='autostart',url='/liverace/startRace',method='GET',eta = datetime.now()+ timedelta(seconds=i*10))
